import { Guard } from '../../constants/guard';

export default [
  {
    path: '/organization',
    name: 'organization',
    meta: {
      title: '组织管理',
      svg: 'organization',
      layout: true,
      guardList: [Guard.OrganizationView, Guard.OrganizationManage]
    },
    redirect: '/organization/list'
  },
  {
    path: '/organization/list',
    name: 'organizationList',
    meta: {
      title: '组织列表',
      svg: 'organization',
      layout: true,
      parentMenu: 'organization',
      guardList: [Guard.OrganizationView, Guard.OrganizationManage]
    },
    component: () => import('../../views/organization/list/index.vue')
  }
];
